using Google.ProtocolBuffers;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class MassSendRequest : GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<MassSendRequest, MassSendRequest.Builder>
		{
			private bool resultIsReadOnly;
			private MassSendRequest result;
			protected override MassSendRequest.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override MassSendRequest MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override MassSendRequest DefaultInstanceForType
			{
				get
				{
					return MassSendRequest.DefaultInstance;
				}
			}
			public BaseRequest BaseRequest
			{
				get
				{
					return this.result.BaseRequest;
				}
				set
				{
					this.SetBaseRequest(value);
				}
			}
			public string ToList
			{
				get
				{
					return this.result.ToList;
				}
				set
				{
					this.SetToList(value);
				}
			}
			public string ToListMD5
			{
				get
				{
					return this.result.ToListMD5;
				}
				set
				{
					this.SetToListMD5(value);
				}
			}
			public string ClientID
			{
				get
				{
					return this.result.ClientID;
				}
				set
				{
					this.SetClientID(value);
				}
			}
			public uint MsgType
			{
				get
				{
					return this.result.MsgType;
				}
				set
				{
					this.SetMsgType(value);
				}
			}
			public uint MediaTime
			{
				get
				{
					return this.result.MediaTime;
				}
				set
				{
					this.SetMediaTime(value);
				}
			}
			public SKBuiltinBuffer_t DataBuffer
			{
				get
				{
					return this.result.DataBuffer;
				}
				set
				{
					this.SetDataBuffer(value);
				}
			}
			public uint DataStartPos
			{
				get
				{
					return this.result.DataStartPos;
				}
				set
				{
					this.SetDataStartPos(value);
				}
			}
			public uint DataTotalLen
			{
				get
				{
					return this.result.DataTotalLen;
				}
				set
				{
					this.SetDataTotalLen(value);
				}
			}
			public uint ThumbTotalLen
			{
				get
				{
					return this.result.ThumbTotalLen;
				}
				set
				{
					this.SetThumbTotalLen(value);
				}
			}
			public uint ThumbStartPos
			{
				get
				{
					return this.result.ThumbStartPos;
				}
				set
				{
					this.SetThumbStartPos(value);
				}
			}
			public SKBuiltinBuffer_t ThumbData
			{
				get
				{
					return this.result.ThumbData;
				}
				set
				{
					this.SetThumbData(value);
				}
			}
			public uint CameraType
			{
				get
				{
					return this.result.CameraType;
				}
				set
				{
					this.SetCameraType(value);
				}
			}
			public uint VideoSource
			{
				get
				{
					return this.result.VideoSource;
				}
				set
				{
					this.SetVideoSource(value);
				}
			}
			public uint ToListCount
			{
				get
				{
					return this.result.ToListCount;
				}
				set
				{
					this.SetToListCount(value);
				}
			}
			public uint IsSendAgain
			{
				get
				{
					return this.result.IsSendAgain;
				}
				set
				{
					this.SetIsSendAgain(value);
				}
			}
			public uint CompressType
			{
				get
				{
					return this.result.CompressType;
				}
				set
				{
					this.SetCompressType(value);
				}
			}
			public Builder()
			{
				this.result = MassSendRequest.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(MassSendRequest cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private MassSendRequest PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					MassSendRequest other = this.result;
					this.result = new MassSendRequest();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override MassSendRequest.Builder Clear()
			{
				this.result = MassSendRequest.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override MassSendRequest.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new MassSendRequest.Builder(this.result);
				}
				return new MassSendRequest.Builder().MergeFrom(this.result);
			}
			public override MassSendRequest BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override MassSendRequest.Builder MergeFrom(IMessageLite other)
			{
				if (other is MassSendRequest)
				{
					return this.MergeFrom((MassSendRequest)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override MassSendRequest.Builder MergeFrom(MassSendRequest other)
			{
				return this;
			}
			public override MassSendRequest.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override MassSendRequest.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(MassSendRequest._massSendRequestFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = MassSendRequest._massSendRequestFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 64u)
					{
						if (num3 <= 26u)
						{
							if (num3 <= 10u)
							{
								if (num3 == 0u)
								{
									throw InvalidProtocolBufferException.InvalidTag();
								}
								if (num3 == 10u)
								{
									BaseRequest.Builder builder = BaseRequest.CreateBuilder();
									if (this.result.hasBaseRequest)
									{
										builder.MergeFrom(this.BaseRequest);
									}
									input.ReadMessage(builder, extensionRegistry);
									this.BaseRequest = builder.BuildPartial();
									continue;
								}
							}
							else
							{
								if (num3 == 18u)
								{
									this.result.hasToList = input.ReadString(ref this.result.toList_);
									continue;
								}
								if (num3 == 26u)
								{
									this.result.hasToListMD5 = input.ReadString(ref this.result.toListMD5_);
									continue;
								}
							}
						}
						else
						{
							if (num3 <= 40u)
							{
								if (num3 == 34u)
								{
									this.result.hasClientID = input.ReadString(ref this.result.clientID_);
									continue;
								}
								if (num3 == 40u)
								{
									this.result.hasMsgType = input.ReadUInt32(ref this.result.msgType_);
									continue;
								}
							}
							else
							{
								if (num3 == 48u)
								{
									this.result.hasMediaTime = input.ReadUInt32(ref this.result.mediaTime_);
									continue;
								}
								if (num3 == 58u)
								{
									SKBuiltinBuffer_t.Builder builder2 = SKBuiltinBuffer_t.CreateBuilder();
									if (this.result.hasDataBuffer)
									{
										builder2.MergeFrom(this.DataBuffer);
									}
									input.ReadMessage(builder2, extensionRegistry);
									this.DataBuffer = builder2.BuildPartial();
									continue;
								}
								if (num3 == 64u)
								{
									this.result.hasDataStartPos = input.ReadUInt32(ref this.result.dataStartPos_);
									continue;
								}
							}
						}
					}
					else
					{
						if (num3 <= 98u)
						{
							if (num3 <= 80u)
							{
								if (num3 == 72u)
								{
									this.result.hasDataTotalLen = input.ReadUInt32(ref this.result.dataTotalLen_);
									continue;
								}
								if (num3 == 80u)
								{
									this.result.hasThumbTotalLen = input.ReadUInt32(ref this.result.thumbTotalLen_);
									continue;
								}
							}
							else
							{
								if (num3 == 88u)
								{
									this.result.hasThumbStartPos = input.ReadUInt32(ref this.result.thumbStartPos_);
									continue;
								}
								if (num3 == 98u)
								{
									SKBuiltinBuffer_t.Builder builder3 = SKBuiltinBuffer_t.CreateBuilder();
									if (this.result.hasThumbData)
									{
										builder3.MergeFrom(this.ThumbData);
									}
									input.ReadMessage(builder3, extensionRegistry);
									this.ThumbData = builder3.BuildPartial();
									continue;
								}
							}
						}
						else
						{
							if (num3 <= 112u)
							{
								if (num3 == 104u)
								{
									this.result.hasCameraType = input.ReadUInt32(ref this.result.cameraType_);
									continue;
								}
								if (num3 == 112u)
								{
									this.result.hasVideoSource = input.ReadUInt32(ref this.result.videoSource_);
									continue;
								}
							}
							else
							{
								if (num3 == 120u)
								{
									this.result.hasToListCount = input.ReadUInt32(ref this.result.toListCount_);
									continue;
								}
								if (num3 == 128u)
								{
									this.result.hasIsSendAgain = input.ReadUInt32(ref this.result.isSendAgain_);
									continue;
								}
								if (num3 == 136u)
								{
									this.result.hasCompressType = input.ReadUInt32(ref this.result.compressType_);
									continue;
								}
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public MassSendRequest.Builder SetBaseRequest(BaseRequest value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBaseRequest = true;
				this.result.baseRequest_ = value;
				return this;
			}
			public MassSendRequest.Builder SetBaseRequest(BaseRequest.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasBaseRequest = true;
				this.result.baseRequest_ = builderForValue.Build();
				return this;
			}
			public MassSendRequest.Builder MergeBaseRequest(BaseRequest value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasBaseRequest && this.result.baseRequest_ != BaseRequest.DefaultInstance)
				{
					this.result.baseRequest_ = BaseRequest.CreateBuilder(this.result.baseRequest_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.baseRequest_ = value;
				}
				this.result.hasBaseRequest = true;
				return this;
			}
			public MassSendRequest.Builder ClearBaseRequest()
			{
				this.PrepareBuilder();
				this.result.hasBaseRequest = false;
				this.result.baseRequest_ = null;
				return this;
			}
			public MassSendRequest.Builder SetToList(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasToList = true;
				this.result.toList_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearToList()
			{
				this.PrepareBuilder();
				this.result.hasToList = false;
				this.result.toList_ = "";
				return this;
			}
			public MassSendRequest.Builder SetToListMD5(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasToListMD5 = true;
				this.result.toListMD5_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearToListMD5()
			{
				this.PrepareBuilder();
				this.result.hasToListMD5 = false;
				this.result.toListMD5_ = "";
				return this;
			}
			public MassSendRequest.Builder SetClientID(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasClientID = true;
				this.result.clientID_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearClientID()
			{
				this.PrepareBuilder();
				this.result.hasClientID = false;
				this.result.clientID_ = "";
				return this;
			}
			public MassSendRequest.Builder SetMsgType(uint value)
			{
				this.PrepareBuilder();
				this.result.hasMsgType = true;
				this.result.msgType_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearMsgType()
			{
				this.PrepareBuilder();
				this.result.hasMsgType = false;
				this.result.msgType_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetMediaTime(uint value)
			{
				this.PrepareBuilder();
				this.result.hasMediaTime = true;
				this.result.mediaTime_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearMediaTime()
			{
				this.PrepareBuilder();
				this.result.hasMediaTime = false;
				this.result.mediaTime_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetDataBuffer(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasDataBuffer = true;
				this.result.dataBuffer_ = value;
				return this;
			}
			public MassSendRequest.Builder SetDataBuffer(SKBuiltinBuffer_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasDataBuffer = true;
				this.result.dataBuffer_ = builderForValue.Build();
				return this;
			}
			public MassSendRequest.Builder MergeDataBuffer(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasDataBuffer && this.result.dataBuffer_ != SKBuiltinBuffer_t.DefaultInstance)
				{
					this.result.dataBuffer_ = SKBuiltinBuffer_t.CreateBuilder(this.result.dataBuffer_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.dataBuffer_ = value;
				}
				this.result.hasDataBuffer = true;
				return this;
			}
			public MassSendRequest.Builder ClearDataBuffer()
			{
				this.PrepareBuilder();
				this.result.hasDataBuffer = false;
				this.result.dataBuffer_ = null;
				return this;
			}
			public MassSendRequest.Builder SetDataStartPos(uint value)
			{
				this.PrepareBuilder();
				this.result.hasDataStartPos = true;
				this.result.dataStartPos_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearDataStartPos()
			{
				this.PrepareBuilder();
				this.result.hasDataStartPos = false;
				this.result.dataStartPos_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetDataTotalLen(uint value)
			{
				this.PrepareBuilder();
				this.result.hasDataTotalLen = true;
				this.result.dataTotalLen_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearDataTotalLen()
			{
				this.PrepareBuilder();
				this.result.hasDataTotalLen = false;
				this.result.dataTotalLen_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetThumbTotalLen(uint value)
			{
				this.PrepareBuilder();
				this.result.hasThumbTotalLen = true;
				this.result.thumbTotalLen_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearThumbTotalLen()
			{
				this.PrepareBuilder();
				this.result.hasThumbTotalLen = false;
				this.result.thumbTotalLen_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetThumbStartPos(uint value)
			{
				this.PrepareBuilder();
				this.result.hasThumbStartPos = true;
				this.result.thumbStartPos_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearThumbStartPos()
			{
				this.PrepareBuilder();
				this.result.hasThumbStartPos = false;
				this.result.thumbStartPos_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetThumbData(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasThumbData = true;
				this.result.thumbData_ = value;
				return this;
			}
			public MassSendRequest.Builder SetThumbData(SKBuiltinBuffer_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasThumbData = true;
				this.result.thumbData_ = builderForValue.Build();
				return this;
			}
			public MassSendRequest.Builder MergeThumbData(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasThumbData && this.result.thumbData_ != SKBuiltinBuffer_t.DefaultInstance)
				{
					this.result.thumbData_ = SKBuiltinBuffer_t.CreateBuilder(this.result.thumbData_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.thumbData_ = value;
				}
				this.result.hasThumbData = true;
				return this;
			}
			public MassSendRequest.Builder ClearThumbData()
			{
				this.PrepareBuilder();
				this.result.hasThumbData = false;
				this.result.thumbData_ = null;
				return this;
			}
			public MassSendRequest.Builder SetCameraType(uint value)
			{
				this.PrepareBuilder();
				this.result.hasCameraType = true;
				this.result.cameraType_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearCameraType()
			{
				this.PrepareBuilder();
				this.result.hasCameraType = false;
				this.result.cameraType_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetVideoSource(uint value)
			{
				this.PrepareBuilder();
				this.result.hasVideoSource = true;
				this.result.videoSource_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearVideoSource()
			{
				this.PrepareBuilder();
				this.result.hasVideoSource = false;
				this.result.videoSource_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetToListCount(uint value)
			{
				this.PrepareBuilder();
				this.result.hasToListCount = true;
				this.result.toListCount_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearToListCount()
			{
				this.PrepareBuilder();
				this.result.hasToListCount = false;
				this.result.toListCount_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetIsSendAgain(uint value)
			{
				this.PrepareBuilder();
				this.result.hasIsSendAgain = true;
				this.result.isSendAgain_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearIsSendAgain()
			{
				this.PrepareBuilder();
				this.result.hasIsSendAgain = false;
				this.result.isSendAgain_ = 0u;
				return this;
			}
			public MassSendRequest.Builder SetCompressType(uint value)
			{
				this.PrepareBuilder();
				this.result.hasCompressType = true;
				this.result.compressType_ = value;
				return this;
			}
			public MassSendRequest.Builder ClearCompressType()
			{
				this.PrepareBuilder();
				this.result.hasCompressType = false;
				this.result.compressType_ = 0u;
				return this;
			}
		}
		public const int BaseRequestFieldNumber = 1;
		public const int ToListFieldNumber = 2;
		public const int ToListMD5FieldNumber = 3;
		public const int ClientIDFieldNumber = 4;
		public const int MsgTypeFieldNumber = 5;
		public const int MediaTimeFieldNumber = 6;
		public const int DataBufferFieldNumber = 7;
		public const int DataStartPosFieldNumber = 8;
		public const int DataTotalLenFieldNumber = 9;
		public const int ThumbTotalLenFieldNumber = 10;
		public const int ThumbStartPosFieldNumber = 11;
		public const int ThumbDataFieldNumber = 12;
		public const int CameraTypeFieldNumber = 13;
		public const int VideoSourceFieldNumber = 14;
		public const int ToListCountFieldNumber = 15;
		public const int IsSendAgainFieldNumber = 16;
		public const int CompressTypeFieldNumber = 17;
		private static readonly MassSendRequest defaultInstance;
		private static readonly string[] _massSendRequestFieldNames;
		private static readonly uint[] _massSendRequestFieldTags;
		private bool hasBaseRequest;
		private BaseRequest baseRequest_;
		private bool hasToList;
		private string toList_ = "";
		private bool hasToListMD5;
		private string toListMD5_ = "";
		private bool hasClientID;
		private string clientID_ = "";
		private bool hasMsgType;
		private uint msgType_;
		private bool hasMediaTime;
		private uint mediaTime_;
		private bool hasDataBuffer;
		private SKBuiltinBuffer_t dataBuffer_;
		private bool hasDataStartPos;
		private uint dataStartPos_;
		private bool hasDataTotalLen;
		private uint dataTotalLen_;
		private bool hasThumbTotalLen;
		private uint thumbTotalLen_;
		private bool hasThumbStartPos;
		private uint thumbStartPos_;
		private bool hasThumbData;
		private SKBuiltinBuffer_t thumbData_;
		private bool hasCameraType;
		private uint cameraType_;
		private bool hasVideoSource;
		private uint videoSource_;
		private bool hasToListCount;
		private uint toListCount_;
		private bool hasIsSendAgain;
		private uint isSendAgain_;
		private bool hasCompressType;
		private uint compressType_;
		private int memoizedSerializedSize = -1;
		public static MassSendRequest DefaultInstance
		{
			get
			{
				return MassSendRequest.defaultInstance;
			}
		}
		public override MassSendRequest DefaultInstanceForType
		{
			get
			{
				return MassSendRequest.DefaultInstance;
			}
		}
		protected override MassSendRequest ThisMessage
		{
			get
			{
				return this;
			}
		}
		public BaseRequest BaseRequest
		{
			get
			{
				return this.baseRequest_ ?? BaseRequest.DefaultInstance;
			}
		}
		public string ToList
		{
			get
			{
				return this.toList_;
			}
		}
		public string ToListMD5
		{
			get
			{
				return this.toListMD5_;
			}
		}
		public string ClientID
		{
			get
			{
				return this.clientID_;
			}
		}
		public uint MsgType
		{
			get
			{
				return this.msgType_;
			}
		}
		public uint MediaTime
		{
			get
			{
				return this.mediaTime_;
			}
		}
		public SKBuiltinBuffer_t DataBuffer
		{
			get
			{
				return this.dataBuffer_ ?? SKBuiltinBuffer_t.DefaultInstance;
			}
		}
		public uint DataStartPos
		{
			get
			{
				return this.dataStartPos_;
			}
		}
		public uint DataTotalLen
		{
			get
			{
				return this.dataTotalLen_;
			}
		}
		public uint ThumbTotalLen
		{
			get
			{
				return this.thumbTotalLen_;
			}
		}
		public uint ThumbStartPos
		{
			get
			{
				return this.thumbStartPos_;
			}
		}
		public SKBuiltinBuffer_t ThumbData
		{
			get
			{
				return this.thumbData_ ?? SKBuiltinBuffer_t.DefaultInstance;
			}
		}
		public uint CameraType
		{
			get
			{
				return this.cameraType_;
			}
		}
		public uint VideoSource
		{
			get
			{
				return this.videoSource_;
			}
		}
		public uint ToListCount
		{
			get
			{
				return this.toListCount_;
			}
		}
		public uint IsSendAgain
		{
			get
			{
				return this.isSendAgain_;
			}
		}
		public uint CompressType
		{
			get
			{
				return this.compressType_;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				return this.hasBaseRequest && this.hasMsgType && this.hasMediaTime && this.hasDataBuffer && this.hasDataStartPos && this.hasDataTotalLen && this.hasThumbTotalLen && this.hasThumbStartPos && this.hasThumbData && this.hasCameraType && this.hasVideoSource && this.hasToListCount && this.hasIsSendAgain && this.BaseRequest.IsInitialized && this.DataBuffer.IsInitialized && this.ThumbData.IsInitialized;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasBaseRequest)
				{
					num += CodedOutputStream.ComputeMessageSize(1, this.BaseRequest);
				}
				if (this.hasToList)
				{
					num += CodedOutputStream.ComputeStringSize(2, this.ToList);
				}
				if (this.hasToListMD5)
				{
					num += CodedOutputStream.ComputeStringSize(3, this.ToListMD5);
				}
				if (this.hasClientID)
				{
					num += CodedOutputStream.ComputeStringSize(4, this.ClientID);
				}
				if (this.hasMsgType)
				{
					num += CodedOutputStream.ComputeUInt32Size(5, this.MsgType);
				}
				if (this.hasMediaTime)
				{
					num += CodedOutputStream.ComputeUInt32Size(6, this.MediaTime);
				}
				if (this.hasDataBuffer)
				{
					num += CodedOutputStream.ComputeMessageSize(7, this.DataBuffer);
				}
				if (this.hasDataStartPos)
				{
					num += CodedOutputStream.ComputeUInt32Size(8, this.DataStartPos);
				}
				if (this.hasDataTotalLen)
				{
					num += CodedOutputStream.ComputeUInt32Size(9, this.DataTotalLen);
				}
				if (this.hasThumbTotalLen)
				{
					num += CodedOutputStream.ComputeUInt32Size(10, this.ThumbTotalLen);
				}
				if (this.hasThumbStartPos)
				{
					num += CodedOutputStream.ComputeUInt32Size(11, this.ThumbStartPos);
				}
				if (this.hasThumbData)
				{
					num += CodedOutputStream.ComputeMessageSize(12, this.ThumbData);
				}
				if (this.hasCameraType)
				{
					num += CodedOutputStream.ComputeUInt32Size(13, this.CameraType);
				}
				if (this.hasVideoSource)
				{
					num += CodedOutputStream.ComputeUInt32Size(14, this.VideoSource);
				}
				if (this.hasToListCount)
				{
					num += CodedOutputStream.ComputeUInt32Size(15, this.ToListCount);
				}
				if (this.hasIsSendAgain)
				{
					num += CodedOutputStream.ComputeUInt32Size(16, this.IsSendAgain);
				}
				if (this.hasCompressType)
				{
					num += CodedOutputStream.ComputeUInt32Size(17, this.CompressType);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private MassSendRequest()
		{
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] massSendRequestFieldNames = MassSendRequest._massSendRequestFieldNames;
			if (this.hasBaseRequest)
			{
				output.WriteMessage(1, massSendRequestFieldNames[0], this.BaseRequest);
			}
			if (this.hasToList)
			{
				output.WriteString(2, massSendRequestFieldNames[13], this.ToList);
			}
			if (this.hasToListMD5)
			{
				output.WriteString(3, massSendRequestFieldNames[15], this.ToListMD5);
			}
			if (this.hasClientID)
			{
				output.WriteString(4, massSendRequestFieldNames[2], this.ClientID);
			}
			if (this.hasMsgType)
			{
				output.WriteUInt32(5, massSendRequestFieldNames[9], this.MsgType);
			}
			if (this.hasMediaTime)
			{
				output.WriteUInt32(6, massSendRequestFieldNames[8], this.MediaTime);
			}
			if (this.hasDataBuffer)
			{
				output.WriteMessage(7, massSendRequestFieldNames[4], this.DataBuffer);
			}
			if (this.hasDataStartPos)
			{
				output.WriteUInt32(8, massSendRequestFieldNames[5], this.DataStartPos);
			}
			if (this.hasDataTotalLen)
			{
				output.WriteUInt32(9, massSendRequestFieldNames[6], this.DataTotalLen);
			}
			if (this.hasThumbTotalLen)
			{
				output.WriteUInt32(10, massSendRequestFieldNames[12], this.ThumbTotalLen);
			}
			if (this.hasThumbStartPos)
			{
				output.WriteUInt32(11, massSendRequestFieldNames[11], this.ThumbStartPos);
			}
			if (this.hasThumbData)
			{
				output.WriteMessage(12, massSendRequestFieldNames[10], this.ThumbData);
			}
			if (this.hasCameraType)
			{
				output.WriteUInt32(13, massSendRequestFieldNames[1], this.CameraType);
			}
			if (this.hasVideoSource)
			{
				output.WriteUInt32(14, massSendRequestFieldNames[16], this.VideoSource);
			}
			if (this.hasToListCount)
			{
				output.WriteUInt32(15, massSendRequestFieldNames[14], this.ToListCount);
			}
			if (this.hasIsSendAgain)
			{
				output.WriteUInt32(16, massSendRequestFieldNames[7], this.IsSendAgain);
			}
			if (this.hasCompressType)
			{
				output.WriteUInt32(17, massSendRequestFieldNames[3], this.CompressType);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasBaseRequest)
			{
				num ^= this.baseRequest_.GetHashCode();
			}
			if (this.hasToList)
			{
				num ^= this.toList_.GetHashCode();
			}
			if (this.hasToListMD5)
			{
				num ^= this.toListMD5_.GetHashCode();
			}
			if (this.hasClientID)
			{
				num ^= this.clientID_.GetHashCode();
			}
			if (this.hasMsgType)
			{
				num ^= this.msgType_.GetHashCode();
			}
			if (this.hasMediaTime)
			{
				num ^= this.mediaTime_.GetHashCode();
			}
			if (this.hasDataBuffer)
			{
				num ^= this.dataBuffer_.GetHashCode();
			}
			if (this.hasDataStartPos)
			{
				num ^= this.dataStartPos_.GetHashCode();
			}
			if (this.hasDataTotalLen)
			{
				num ^= this.dataTotalLen_.GetHashCode();
			}
			if (this.hasThumbTotalLen)
			{
				num ^= this.thumbTotalLen_.GetHashCode();
			}
			if (this.hasThumbStartPos)
			{
				num ^= this.thumbStartPos_.GetHashCode();
			}
			if (this.hasThumbData)
			{
				num ^= this.thumbData_.GetHashCode();
			}
			if (this.hasCameraType)
			{
				num ^= this.cameraType_.GetHashCode();
			}
			if (this.hasVideoSource)
			{
				num ^= this.videoSource_.GetHashCode();
			}
			if (this.hasToListCount)
			{
				num ^= this.toListCount_.GetHashCode();
			}
			if (this.hasIsSendAgain)
			{
				num ^= this.isSendAgain_.GetHashCode();
			}
			if (this.hasCompressType)
			{
				num ^= this.compressType_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object object_0)
		{
			MassSendRequest massSendRequest = object_0 as MassSendRequest;
			return massSendRequest != null && (this.hasBaseRequest == massSendRequest.hasBaseRequest && (!this.hasBaseRequest || this.baseRequest_.Equals(massSendRequest.baseRequest_))) && (this.hasToList == massSendRequest.hasToList && (!this.hasToList || this.toList_.Equals(massSendRequest.toList_))) && (this.hasToListMD5 == massSendRequest.hasToListMD5 && (!this.hasToListMD5 || this.toListMD5_.Equals(massSendRequest.toListMD5_))) && (this.hasClientID == massSendRequest.hasClientID && (!this.hasClientID || this.clientID_.Equals(massSendRequest.clientID_))) && (this.hasMsgType == massSendRequest.hasMsgType && (!this.hasMsgType || this.msgType_.Equals(massSendRequest.msgType_))) && (this.hasMediaTime == massSendRequest.hasMediaTime && (!this.hasMediaTime || this.mediaTime_.Equals(massSendRequest.mediaTime_))) && (this.hasDataBuffer == massSendRequest.hasDataBuffer && (!this.hasDataBuffer || this.dataBuffer_.Equals(massSendRequest.dataBuffer_))) && (this.hasDataStartPos == massSendRequest.hasDataStartPos && (!this.hasDataStartPos || this.dataStartPos_.Equals(massSendRequest.dataStartPos_))) && (this.hasDataTotalLen == massSendRequest.hasDataTotalLen && (!this.hasDataTotalLen || this.dataTotalLen_.Equals(massSendRequest.dataTotalLen_))) && (this.hasThumbTotalLen == massSendRequest.hasThumbTotalLen && (!this.hasThumbTotalLen || this.thumbTotalLen_.Equals(massSendRequest.thumbTotalLen_))) && (this.hasThumbStartPos == massSendRequest.hasThumbStartPos && (!this.hasThumbStartPos || this.thumbStartPos_.Equals(massSendRequest.thumbStartPos_))) && (this.hasThumbData == massSendRequest.hasThumbData && (!this.hasThumbData || this.thumbData_.Equals(massSendRequest.thumbData_))) && (this.hasCameraType == massSendRequest.hasCameraType && (!this.hasCameraType || this.cameraType_.Equals(massSendRequest.cameraType_))) && (this.hasVideoSource == massSendRequest.hasVideoSource && (!this.hasVideoSource || this.videoSource_.Equals(massSendRequest.videoSource_))) && (this.hasToListCount == massSendRequest.hasToListCount && (!this.hasToListCount || this.toListCount_.Equals(massSendRequest.toListCount_))) && (this.hasIsSendAgain == massSendRequest.hasIsSendAgain && (!this.hasIsSendAgain || this.isSendAgain_.Equals(massSendRequest.isSendAgain_))) && (this.hasCompressType == massSendRequest.hasCompressType && (!this.hasCompressType || this.compressType_.Equals(massSendRequest.compressType_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("BaseRequest", this.hasBaseRequest, this.baseRequest_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("ToList", this.hasToList, this.toList_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("ToListMD5", this.hasToListMD5, this.toListMD5_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("ClientID", this.hasClientID, this.clientID_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("MsgType", this.hasMsgType, this.msgType_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("MediaTime", this.hasMediaTime, this.mediaTime_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("DataBuffer", this.hasDataBuffer, this.dataBuffer_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("DataStartPos", this.hasDataStartPos, this.dataStartPos_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("DataTotalLen", this.hasDataTotalLen, this.dataTotalLen_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("ThumbTotalLen", this.hasThumbTotalLen, this.thumbTotalLen_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("ThumbStartPos", this.hasThumbStartPos, this.thumbStartPos_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("ThumbData", this.hasThumbData, this.thumbData_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("CameraType", this.hasCameraType, this.cameraType_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("VideoSource", this.hasVideoSource, this.videoSource_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("ToListCount", this.hasToListCount, this.toListCount_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("IsSendAgain", this.hasIsSendAgain, this.isSendAgain_, writer);
			GeneratedMessageLite<MassSendRequest, MassSendRequest.Builder>.PrintField("CompressType", this.hasCompressType, this.compressType_, writer);
		}
		public static MassSendRequest ParseFrom(byte[] data)
		{
			return MassSendRequest.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private MassSendRequest MakeReadOnly()
		{
			return this;
		}
		public static MassSendRequest.Builder CreateBuilder()
		{
			return new MassSendRequest.Builder();
		}
		public override MassSendRequest.Builder ToBuilder()
		{
			return MassSendRequest.CreateBuilder(this);
		}
		public override MassSendRequest.Builder CreateBuilderForType()
		{
			return new MassSendRequest.Builder();
		}
		public static MassSendRequest.Builder CreateBuilder(MassSendRequest prototype)
		{
			return new MassSendRequest.Builder(prototype);
		}
		static MassSendRequest()
		{
			MassSendRequest.defaultInstance = new MassSendRequest().MakeReadOnly();
			MassSendRequest._massSendRequestFieldNames = new string[]
			{
				"BaseRequest",
				"CameraType",
				"ClientID",
				"CompressType",
				"DataBuffer",
				"DataStartPos",
				"DataTotalLen",
				"IsSendAgain",
				"MediaTime",
				"MsgType",
				"ThumbData",
				"ThumbStartPos",
				"ThumbTotalLen",
				"ToList",
				"ToListCount",
				"ToListMD5",
				"VideoSource"
			};
			MassSendRequest._massSendRequestFieldTags = new uint[]
			{
				10u,
				104u,
				34u,
				136u,
				58u,
				64u,
				72u,
				128u,
				48u,
				40u,
				98u,
				88u,
				80u,
				18u,
				120u,
				26u,
				112u
			};
			object.ReferenceEquals(micromsg.Proto.MassSendRequest.Descriptor, null);
		}
	}
}
